Automattic\WooCommerce\GoogleListingsAndAds\API\Site\Controllers\BaseController S

Total Complexity 21
Dependencies 4
Dependents 1
Total lines 184
Lines of code 75
Logical lines of code 36
Comment lines 80
Methods 13
Properties 1

Methods 13

Method Rating Maintainability Complexity Lines of code
prepare_item_for_response()
S
54 6 20
prepare_item_for_database()
S
62 3 11
get_route_name()
S
67 2 7
prepare_item_schema()
S
63 1 11
__construct()
S
76 1 4
register()
S
82 1 3
register_route()
S
79 1 3
get_namespace()
S
79 1 3
get_permission_callback()
S
76 1 5
get_item_schema()
S
79 1 3
get_api_response_schema_callback()
S
76 1 5
get_schema_properties()
S
100 1 0
get_schema_title()
S
100 1 0